Skip to main content
Version: 1.x.x

OnSuccessCallbackType


import { OnSuccessCallbackType } from "@hyper-fetch/react"

Description

Defined in helpers/use-command-events/use-command-events.types.ts:92

Preview

type OnSuccessCallbackType<Command> = (params: CallbackParameters<Command, ExtractResponse<Command>>) => void | Promise<void>;

Structure

(params: CallbackParameters<Command, ExtractResponse<Command>>) => void | Promise<void>